Skip to content

Add integration tests for chainrules-core re-exports#2

Merged
shinaoka merged 1 commit intomainfrom
add-reexport-tests
Mar 19, 2026
Merged

Add integration tests for chainrules-core re-exports#2
shinaoka merged 1 commit intomainfrom
add-reexport-tests

Conversation

@shinaoka
Copy link
Copy Markdown
Member

Summary

  • Adds reexport_tests.rs with 9 integration tests verifying all chainrules-core public types are usable through chainrules alone
  • Covers: Differentiable, ReverseRule, ForwardRule, NodeId, SavePolicy, AutodiffError, AdResult, PullbackEntry, PullbackWithTangentsEntry
  • Includes a minimal IdentityRule impl to confirm traits are implementable from downstream

Test plan

  • cargo nextest run --release --test reexport_tests — 9/9 pass

🤖 Generated with Claude Code

Verify that all public types re-exported from chainrules-core
(Differentiable, ReverseRule, ForwardRule, NodeId, etc.) are usable
through the chainrules crate alone.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@shinaoka shinaoka enabled auto-merge (squash) March 19, 2026 23:00
@shinaoka shinaoka merged commit 276cb61 into main Mar 19, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant